package com.woniu.entity;

import com.fasterxml.jackson.annotation.JsonRawValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.util.Date;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "vedio") // 请替换为实际数据库表名
public class Vedio {

        private Integer id;

    /**
     * 视频内容
     * @return
     */
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

        private Integer courseId;


        private String title;


        private String url;


        private String fileSize;


        private String duration;


        private Integer sort;


        private String createBy;


        private Date createTime;


        private Date updateTime;


        private String creater;


        private String updater;


    @Column("test")
    @JsonRawValue
    private String test;

}
